package com.ysd.lis.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class CommonPageDto {
    private String seachValue;

    private String keywords;

    private String status;

    private Long pageSize;

    private Long pageIndex;

    private Long grade;

    private String pid;

    private String pCode;

    private String orgId;

    private String code;

    private String isShowAll;

    private String tableName;

    private String instrId;

    private List<String> instrIds;

    private Map<String,Object> map;

    private List<String> columNameList;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    public Date QCDateS;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    public Date QCDateE;

    private String planId;

    private String faultId;

    private String equiptId;

    private String userId;
    private String username;

    private Integer poct;

    private String startDate;
    private String endDate;

}
